<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <title>OimoPhysics — Alien.js</title>

    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono">
    <link rel="stylesheet" href="../assets/css/style.css">

    <script type="importmap">
        {
            "imports": {
                "three": "https://unpkg.com/three/build/three.module.js",
                "oimophysics": "https://cdn.jsdelivr.net/gh/saharan/OimoPhysics@v1.2.3/bin/js_modules/OimoPhysics.js",
                "@alienkitty/alien.js/three/oimophysics": "../../src/three.oimophysics.js"
            }
        }
    </script>

    <script type="module">
        import { OimoPhysics } from '@alienkitty/alien.js/three/oimophysics';

        const physics = new OimoPhysics();
        console.log(physics.getGravity());
    </script>
</head>
<body>
</body>
</html>
